/* 请在编辑器调试中运行,修改startPos为起始坐标,将data中的{}替换成vox-output.txt的内容*/

let startPos=new GameVector3();
let data={};
(async function(){Object.keys(data).forEach(async key=>{
    let [x,y,z]=key.split(',').map(Number);
    let value=data[key];
    voxels.setVoxel(startPos.x+x,startPos.y+y,startPos.z+z,value);
    await sleep(1)
})})();
